package com.zzty.springmybatis.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zzty.springmybatis.entity.User;

public interface UserService {

	public void addUser(User user);

	public void updateUser(String email, String phone, String sex, Integer clazzId, String disname, String name);

	public void updatePwd(String password, String name);

	public void changeImg(String name);

	public String findPwd(String name, String email);

	public List<Integer> searchStuIdByClazzID(Integer classId);

	public String searchPwdByName(String name);

	public User selectUserInfo(User user);

	public boolean login(User user);

	public User getUserByName(String name);

	public String getDisnameById(Integer id);

	public List<User> searchStuByClazzID(Integer clazzId);

}
